package com.carkeeper.web.filter;

public class UrlFilter {

    public static String filterPath="/api/paylog/**,/api/storebill/**";


    public static boolean hasAuthorize(String url){

        String[] split = filterPath.replace("**","").split(",");
        for (String s : split) {

            if (url.startsWith(s)){
                return true;
            }
        }
        return false;
    }
}
